#include "widget.h"
#include <QApplication>
#include <QFont>

#include "sqlite.h"
#include "thread.h"
#include "serial.h"
#include "sim900a.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    QFont font;
    font.setWeight(QFont::Bold);
    qApp->setFont(font);

    Sqlite::Get()->Open();

    SIM900A::Get()->start();
#if SUPPORT_ARM
    Thread::Get()->start();
#endif


    Widget w;
    w.show();

    return a.exec();
}
